package com.aaa.controller.lj;

import com.aaa.service.lj.AdressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("personal")
public class AdressController {
    @Autowired
    private AdressService adressService;
    @RequestMapping("Adress")
    public Object Adress(){
        try {
            return adressService.getAdresslist();
        } catch (Exception e) {
            e.printStackTrace();

        }
        return null;
    }

}
